export default [
  { title: "工作台", path: "/", icon: 'fas fa-home' }, {
    title: '数据库',
    path: '',
    icon: 'fas fa-database',
    meta: { hideInLogged: true },
    subMenus: [
      { title: '数据库状态', path: '/db/status' },
      { title: '数据库详情', name: "DbDetail", path: '/db/0/shares', pathValid: '/db/.+/.+' },
      { title: '数据库比较', path: '/db/Compare' }
    ]
  },
  {
    title: '凯德',
    path: '',
    icon: 'fas fa-tram',
    limit: { capitalandNet: true },
    subMenus: [
      { title: '接口调用', path: '/capitaland/webapi' },
      { title: 'iWorkflow单据详情', path: '/capitaland/workflow' },
      { title: 'iWorkflow单据统计', path: '/capitaland/statistics' },
      { title: 'iWorkflow单据分类统计', path: '/capitaland/detailStatistics' },
      { title: 'iWorkflow单据页面加载分析', path: '/capitaland/pageloads' }
    ]
  },
  {
    title: '股票',
    path: '/shares',
    icon: 'fas fa-chart-line',
    meta: { hideInLogged: false },
    limit: { internet: true },
    subMenus: [
      { title: '股票指数', path: '/share/indexes', visible: false, limit: { internet: true } },
      { title: '股票收益', path: '/share/profits', visible: false, limit: { internet: true } },
    ]
  },
  {
    title: '运维管理',
    path: '',
    limit: { platform: 'linux', capitalandNet: true },
    icon: 'fas fa-server',
    subMenus: [
      { title: '服务器', path: '/devops/serverStatus' },
      { title: '系统发布', path: '/devops/publish' },
      { title: '压力测试', path: '/devops/pressuretest' }
    ]
  },
  {
    title: '系统管理',
    path: '',
    icon: 'fas fa-cogs',
    subMenus: [
      { title: '菜单管理', path: '/system/menu' },
      { title: '服务器监控', path: '/devops/configuration/trac' },
      { title: '系统发布服务', path: '/devops/configuration/publish' }
    ]
  },
  {
    title: "我的工具",
    path: "",
    icon: 'fas fa-tools',
    meta: { hideInLogged: false },
    subMenus: [
      { title: '加密解密', path: '/tools/crypto' },
      { title: '代码生成', path: '/tools/generatorCode' },
      // { title: '文件上传', path: '/tools/upload' },
      { title: 'Nginx监控', path: '/tools/nginxMonitor', limit: { internet: true } },
      { title: '系统日志服务', path: '/tools/log' }
    ]
  },
  { title: '接口文档', path: '/docs', icon: 'fas fa-file-code' }
];